package com.example.common.enetiy;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * @author qwert
 * @version 1.0.0
 * @create 2025/9/6 10:08
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private String userId;
    private String username;
    private String password;
    private String nickname;
    private String phone;
    private String dormitory;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String operatorId;
    private boolean isDelete;


    public static Map<String, User> getUserInfo() {
        return Map.of(
                "1145141919810", User.builder().userId("1145141919810").username("张三").phone("13170080209").build(),
                "1145141919811", User.builder().userId("1145141919811").username("李四").phone("13170080209").build(),
                "1145141919812", User.builder().userId("1145141919812").username("王五").phone("13170080209").build(),
                "1145141919813", User.builder().userId("1145141919813").username("赵六").phone("13170080209").build(),
                "1145141919814", User.builder().userId("1145141919814").username("孙七").phone("13170080209").build(),
                "1145141919815", User.builder().userId("1145141919815").username("周八").phone("13170080209").build(),
                "1145141919816", User.builder().userId("1145141919816").username("吴九").phone("13170080209").build(),
                "1145141919817", User.builder().userId("1145141919817").username("郑十").phone("13170080209").build(),
                "sf1145141919818", User.builder().userId("1145141919818").username("张师傅").phone("13170080209").build(),
                "sf1145141919819", User.builder().userId("1145141919819").username("李师傅").phone("13170080209").build()
        );
    }
}
